package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 视频号资金流水导入VO
* </p>
*
* @author huangrensen
* @since 2024-06-18
*/
@Schema
@Data
public class SphFundFlowImportVo implements Serializable {
    @ExcelIgnore
    private Long storeId;
    @ExcelProperty(value = "流水单号")
    private String flowNo;
    @ExcelProperty(value = "记账时间")
    private String billTime;
    @ExcelProperty(value = "动帐类型")
    private String billType;
    @ExcelProperty(value = "收支类型")
    private String payType;
    @ExcelProperty(value = "收支金额")
    private String billAmount;
    @ExcelProperty(value = "账户余额")
    private String balanceAmount;
    @ExcelProperty(value = "关联订单号")
    private String orderNo;
    @ExcelProperty(value = "关联售后单号")
    private String returnNo;
    @ExcelProperty(value = "关联提现单号")
    private String cashOutNo;
    @ExcelProperty(value = "关联保单号")
    private String policyNo;
    @ExcelProperty(value = "详情")
    private String remark;

    @ExcelIgnore
    private String billMonth;

    @ExcelIgnore
    private String uuid;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("流水单号", "flowNo");
        map.put("记账时间", "billTime");
        map.put("动帐类型", "billType");
        map.put("收支类型", "payType");
        map.put("收支金额", "billAmount");
        map.put("账户余额", "balanceAmount");
        map.put("关联订单号", "orderNo");
        map.put("关联售后单号", "returnNo");
        map.put("关联提现单号", "cashOutNo");
        map.put("关联保单号", "policyNo");
        map.put("详情", "remark");
        return map;
    }
}
